		<div class="row">
			<div class="four columns header">
				<?php if(isset($editClientGegevens)): ?>
					<?php foreach ($editClientGegevens as $row): ?>
						<?php $selectClientId = $row->client_id; ?>
						<?php echo form_open_multipart('client/updateClient/id/' . $row->client_id . '/' . $row->adres_id  . '/' . $row->contactgegevens_id ); ?> 
							
							<div>
								<label for="voornaam">voornaam</label>
								<input type="text" name="voornaam" value="<?php echo $row->voornaam; ?>" class="large input-text" />
								<?php if(form_error('voornaam')):?><small class="form-field error"><?php echo form_error('voornaam'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="achternaam">achternaam</label>
								<input type="text" name="achternaam" value="<?php echo $row->achternaam; ?>" class="large input-text" />
								<?php if(form_error('achternaam')):?><small class="form-field error"><?php echo form_error('achternaam'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="leeftijd">leeftijd</label>
								<input type="text" name="leeftijd" value="<?php echo $row->leeftijd; ?>" class="large input-text" />
								<?php if(form_error('leeftijd')):?><small class="form-field error"><?php echo form_error('leeftijd'); ?></small> <?php endif;?>
							</div>
														
							<div>
								<label for="straat">straat</label>
								<input type="text" name="straat" value="<?php echo $row->straat; ?>" class="large input-text" />
								<?php if(form_error('straat')):?><small class="form-field error"><?php echo form_error('straat'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="huisnummer">huisnummer</label>
								<input type="text" name="huisnummer" value="<?php echo $row->huisnummer; ?>" class="large input-text" />
								<?php if(form_error('huisnummer')):?><small class="form-field error"><?php echo form_error('huisnummer'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="woonplaats">woonplaats</label>
								<input type="text" name="woonplaats" value="<?php echo $row->woonplaats; ?>" class="large input-text" />
								<?php if(form_error('woonplaats')):?><small class="form-field error"><?php echo form_error('woonplaats'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="wijk">wijk</label>
								<input type="text" name="wijk" value="<?php echo $row->wijk; ?>" class="large input-text" />
								<?php if(form_error('wijk')):?><small class="form-field error"><?php echo form_error('wijk'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="postcode">postcode</label>
								<input type="text" name="postcode" value="<?php echo $row->postcode; ?>" class="large input-text" />
								<?php if(form_error('postcode')):?><small class="form-field error"><?php echo form_error('postcode'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="vaste_telefoon_nr">vaste telefoon nr</label>
								<input type="text" name="vaste_telefoon_nr" value="<?php echo $row->vaste_telefoon_nr; ?>" class="large input-text" />
								<?php if(form_error('vaste_telefoon_nr')):?><small class="form-field error"><?php echo form_error('vaste_telefoon_nr'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="email">email</label>
								<input type="text" name="email" value="<?php echo $row->email; ?>" class="large input-text" />
								<?php if(form_error('email')):?><small class="form-field error"><?php echo form_error('email'); ?></small> <?php endif;?>
							</div>
							
							<div>
								<label for="mobiel_telefoon_nr">mobiel telefoon nr</label>
								<input type="text" name="mobiel_telefoon_nr" value="<?php echo $row->mobiel_telefoon_nr; ?>" class="large input-text" />
								<?php if(form_error('mobiel_telefoon_nr')):?><small class="form-field error"><?php echo form_error('mobiel_telefoon_nr'); ?></small> <?php endif;?>
							</div>
							
							<?php echo form_submit('Submit', 'Client aanpassen', 'class="white radius nice button"'); ?> 
						
						<?php endforeach;?>
						<?php endif;?>
			
						</div>
					
		</div>
	</div>


	<!-- Included JS Files -->
	<script src="<?php echo base_url(); ?>template/javascripts/foundation.js"></script>
	<script src="<?php echo base_url(); ?>template/javascripts/app.js"></script>
	<script src="<?php echo base_url(); ?>javascripts/jquery.roundabout.min.js"></script> 

</body>
</html>
				
